# -*- coding: utf-8 -*-
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from taobao_category.settings_local import db

engine = create_engine("mysql+pymysql://"+db['uname']+":"+db['pwd']+"@"+db['url'], encoding='utf-8', echo=False)
DBSession = sessionmaker(bind=engine)

